cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
project(platform LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)

add_executable(helloworld main.cpp)

target_compile_definitions(helloworld PUBLIC "COMPILER_NAME=\"${CMAKE_CXX_COMPILER_ID}\"")

message(STATUS "CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")
message(STATUS "CMAKE_CURRENT_SOURCE_DIR: ${CMAKE_CURRENT_SOURCE_DIR}")
message(STATUS "PROJECT_SOURCE_DIR: ${PROJECT_SOURCE_DIR}")
message(STATUS "CMAKE_CURRENT_BINARY_DIR: ${CMAKE_CURRENT_BINARY_DIR}")
message(STATUS "PROJECT_BINARY_DIR: ${PROJECT_BINARY_DIR}")
